#ifndef SHAPE_INITIALNODE_H
#define SHAPE_INITIALNODE_H
#include "shape.h"

/**
 * @class InitialNodeShape
 * Представляет собой элемент Initial Node языка UML.
 */
class InitialNodeShape : public virtual Shape
{
	Q_OBJECT
public:
	static int const RADIUS = 8;
	InitialNodeShape (QGraphicsItem *parent = NULL);
	InitialNodeShape (const QPointF &pos, QGraphicsItem *parent = NULL);
	virtual QRectF boundingRect() const;
	virtual InitialNodeShape *clone() const;
protected:
	virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
	virtual QPainterPath shape() const;
};

#endif // SHAPE_INITIALNODE_H
